using System.ComponentModel.DataAnnotations.Schema;

namespace Lzfy_His_Service.Models
{
    public class RefundDict
    {
        public int Id { get; set; }
        
        [Column("input_date")]
        public DateTime? InputDate { get; set; }
        
        [Column("dict_id")]
        public int? DictId { get; set; }
        
        [Column("dict_name")]
        public string? DictName { get; set; }
        
        [Column("item_name")]
        public string? ItemName { get; set; }
        
        [Column("item_value")]
        public string? ItemValue { get; set; }
    }

    public class RefundDictCreateRequest
    {
        public int? DictId { get; set; }
        public string? DictName { get; set; }
        public string? ItemName { get; set; }
        public string? ItemValue { get; set; }
    }

    public class RefundDictUpdateRequest
    {
        public int Id { get; set; }
        public int? DictId { get; set; }
        public string? DictName { get; set; }
        public string? ItemName { get; set; }
        public string? ItemValue { get; set; }
    }

    public class DictCategory
    {
        public int DictId { get; set; }
        public string? DictName { get; set; }
        public int ItemCount { get; set; }
    }
}